home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / Dmod / dmod_Identify / lib / modules / identifybase.lha / src / IdHardwareUpdate.ass < prev    next >
Text File  |  2002-08-10  |  514b  |  34 lines

  1.     .sdreg    r2
  2.     .text
  3.     .align    2
  4.     .global    _IdHardwareUpdate
  5. _IdHardwareUpdate:
  6.     mflr    r0
  7.     stw    r0,8(r1)
  8.     stwu    r1,-176(r1)
  9.     li    r11,0
  10.     stw    r11,40(r1)
  11.     stw    r11,44(r1)
  12.     stw    r11,48(r1)
  13.     lwz    r0,_IdentifyBase(r2)
  14.     stw    r0,32(r1)
  15.     stw    r0,108(r1)
  16.     li    r0,-60
  17.     stw    r0,36(r1)
  18.     lwz    r3,_PowerPCBase(r2)
  19.     addi    r4,r1,32
  20.     lwz    r0,-298(r3)
  21.     mtlr    r0
  22.     blrl
  23.     lwz    r3,52(r1)
  24.     addi    r1,r1,176
  25.     lwz    r0,8(r1)
  26.     mtlr    r0
  27.     blr
  28.     .type    _IdHardwareUpdate,@function
  29.     .size    _IdHardwareUpdate,$-_IdHardwareUpdate
  30.  
  31.  
  32.     .extern    _PowerPCBase
  33.     .extern    _IdentifyBase
  34.